{include file="public/head"/}
<style type="text/css"></style>
<div class="layui-content-wrapper">
    <div class="layui-fluid">
        <div class="layui-row layui-col-space15">
            <div class="layui-col-md12">
                <div class="layui-row layui-col-space15">
                    <div class="layui-col-md12 layui-col-space5">
                        <div class="layui-col-md4">
                            <div class="layui-card">
                                <div class="layui-card-header">快捷方式</div>
                                <div class="layui-card-body">
                                    <div class="layui-carousel layadmin-carousel layadmin-shortcut">
                                        <div carousel-item>
                                            <ul class="layui-row layui-col-space10">
                                                <li class="layui-col-xs3">
                                                    <a lay-href="{:url(SYS_PATH.'/Goods/index')}" class="layuiOpen">
                                                        <i class="layui-icon layui-icon-set"></i>
                                                        <cite>商品</cite>
                                                    </a>
                                                </li>
                                                <li class="layui-col-xs3">
                                                    <a lay-href="{:url(SYS_PATH.'/Orders/index')}" class="layuiOpen">
                                                        <i class="layui-icon layui-icon-dialogue"></i>
                                                        <cite>订单管理</cite>
                                                    </a>
                                                </li>
                                                <li class="layui-col-xs3">
                                                    <a lay-href="{:url(SYS_PATH.'/AuthGroup/index')}" class="layuiOpen">
                                                        <i class="layui-icon layui-icon-auz"></i>
                                                        <cite>权限管理</cite>
                                                    </a>
                                                </li>
                                                <li class="layui-col-xs3">
                                                    <a lay-href="{:url(SYS_PATH.'/authAdmin/index')}" class="layuiOpen">
                                                        <i class="layui-icon layui-icon-user"></i>
                                                        <cite>管理用户</cite>
                                                    </a>
                                                </li>
                                                <li class="layui-col-xs3">
                                                    <a lay-href="{:url(SYS_PATH.'/Ad/index')}" class="layuiOpen">
                                                        <i class="layui-icon layui-icon-app"></i>
                                                        <cite>广告管理</cite>
                                                    </a>
                                                </li>
                                                <li class="layui-col-xs3">
                                                    <a lay-href="{:url(SYS_PATH.'/Config/globalConfig')}" class="layuiOpen">
                                                        <i class="layui-icon layui-icon-layouts"></i>
                                                        <cite>全局配置</cite>
                                                    </a>
                                                </li>
                                                <li class="layui-col-xs3">
                                                    <a lay-href="{:url(SYS_PATH.'/User/index')}" class="layuiOpen">
                                                        <i class="layui-icon layui-icon-friends"></i>
                                                        <cite>会员管理</cite>
                                                    </a>
                                                </li>
                                                <li class="layui-col-xs3">
                                                    <a lay-href="{:url(SYS_PATH.'/Feedback/index')}" class="layuiOpen">
                                                        <i class="layui-icon layui-icon-tabs"></i>
                                                        <cite>反馈管理</cite>
                                                    </a>
                                                </li>
                                            </ul>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="layui-col-md4">
                            <div class="layui-card">
                                <div class="layui-card-header">站点统计</div>
                                <div class="layui-card-body">
                                    <div class="layui-carousel layadmin-carousel layadmin-backlog">
                                        <div carousel-item>
                                            <ul class="layui-row layui-col-space10">
                                                <li class="layui-col-xs6">
                                                    <a href="javascript:;" class="layadmin-backlog-body">
                                                        <h3>已支付的订单总额</h3>
                                                        <p><cite>{$order_money}</cite>￥</p>
                                                    </a>
                                                </li>
                                                <li class="layui-col-xs6">
                                                    <a href="javascript:;" class="layadmin-backlog-body">
                                                        <h3>已支付的订单数量</h3>
                                                        <p><cite>{$order_num}</cite>条</p>
                                                    </a>
                                                </li>
                                                <li class="layui-col-xs6">
                                                    <a href="{:url(SYS_PATH.'/User/index')}" class="layadmin-backlog-body">
                                                        <h3>会员总数</h3>
                                                        <p><cite>{$count.user_count}</cite>个</p>
                                                    </a>
                                                </li>
                                                <li class="layui-col-xs6">
                                                    <a href="{:url(SYS_PATH.'/Orders/index')}" class="layadmin-backlog-body">
                                                        <h3>待核销订单</h3>
                                                        <p><cite>{$hexiao}</cite>条</p>
                                                    </a>
                                                </li>
                                            </ul>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="layui-col-md4">
                            <div class="layui-card">
                                <div class="layui-card-header">版本信息</div>
                                <div class="layui-card-body layui-text">
                                    <table class="layui-table">
                                        <colgroup>
                                            <col width="100">
                                            <col>
                                        </colgroup>
                                        <tbody>
                                        <tr>
                                            <td>当前版本</td>
                                            <td>
                                                <script type="text/html" template>
                                                    V - 1.0
                                                    <a href="/" target="_blank"
                                                       style="padding-left: 15px;">更新日志</a>
                                                </script>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>技术支持</td>
                                            <td>
                                                创胜网络
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>联系电话</td>
                                            <td>000-00000000</td>
                                        </tr>
                                        <tr>
                                            <td>获取渠道</td>
                                            <td style="padding:15px 0 5px 15px;">
                                                <div class="layui-btn-container">
                                                    <a href="javascript:void(0);"  class="layui-btn layui-btn-danger">获取授权</a>
                                                    <a href="javascript:void(0);"  class="layui-btn">联系我们</a>
                                                </div>

                                            </td>
                                        </tr>
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="layui-col-md12">
                        <div class="layui-card">
                            <div class="layui-card-header">数据概览</div>
                            <div class="layui-card-body">
                                <div class="layui-carousel layadmin-carousel layadmin-dataview" data-anim="fade"
                                     lay-filter="LAY-index-dataview">
                                    <div carousel-item id="LAY-index-dataview">
                                        <div><i class="layui-icon layui-icon-loading1 layadmin-loading"></i></div>
                                        <div></div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="layui-col-md12">
                        <div class="layui-row layui-col-space15">
                            <div class="layui-col-md4">
                                <div class="layui-card">
                                    <div class="layui-card-header">系统配置</div>
                                    <div class="layui-card-body layui-text">
                                        <table class="layui-table">
                                            <colgroup>
                                                <col width="100">
                                                <col>
                                            </colgroup>
                                            <tbody>
                                            <tr>
                                                <td>PHP版本</td>
                                                <td>
                                                    <?php echo(PHP_VERSION); ?>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>mysql版本</td>
                                                <td>
                                                    <?php echo($MYSQL_VERSION);?>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>WEB服务</td>
                                                <td><?php echo $_SERVER['SERVER_SOFTWARE'];?></td>
                                            </tr>
                                            <tr>
                                                <td>脚本超时</td>
                                                <td style="padding-bottom: 0;">
                                                    <?php echo ini_get("max_execution_time");?> 秒
                                                </td>
                                            </tr>
                                            </tbody>
                                        </table>
                                    </div>
                                </div>
                            </div>
                            <div class="layui-col-md4">
                                <div class="layui-card">
                                    <div class="layui-card-header">组件信息</div>
                                    <div class="layui-card-body layui-text">
                                        <table class="layui-table">
                                            <colgroup>
                                                <col width="100"><col>
                                            </colgroup>
                                            <tbody>
                                            <tr>
                                                <td>附件上传</td>
                                                <td>
                                                    <?php echo ini_get('upload_max_filesize');?>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>GD库</td>
                                                <td>
                                                    <?php $gd=gd_info(); echo $gd['GD Version']; ?>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>allow_url_fopen</td>
                                                <td><?php if(ini_get("allow_url_fopen")){echo "支持";}else{echo "禁用";} ?></td>
                                            </tr>
                                            <tr>
                                                <td>CURL</td>
                                                <td style="padding-bottom: 0;">
                                                    <?php echo isfun("curl_init");?>
                                                </td>
                                            </tr>
                                            </tbody>
                                        </table>
                                    </div>
                                </div>
                            </div>
                            <div class="layui-col-md4">
                                <div class="layui-card">
                                    <div class="layui-card-header">开发信息</div>
                                    <div class="layui-card-body layui-text">
                                        <table class="layui-table">
                                            <colgroup>
                                                <col width="100">
                                                <col>
                                            </colgroup>
                                            <tbody>
                                            <tr>
                                                <td>后端框架</td>
                                                <td>
                                                    ThinkPHP 6.0
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>前端框架</td>
                                                <td>layuiAdmin</td>
                                            </tr>
                                            <tr>
                                                <td>PHP最低</td>
                                                <td>VERSION >=7.1</td>
                                            </tr>
                                            <tr>
                                                <td>MySql最低</td>
                                                <td style="padding-bottom: 0;">VERSION >=5.5</td>
                                            </tr>
                                            </tbody>
                                        </table>
                                    </div>
                                </div>
                            </div>


                        </div>
                    </div>

                </div>
            </div>


        </div>
    </div>
</div>
{include file="public/foot"/}
<script type="text/html" id="action">
    <a class="layui-btn layui-btn-xs" lay-event="reply">
        查看
        {{# if(d.reply==0 && d.status==0){ }}
        <span class="layui-badge-dot"></span>
        {{# } }}
    </a>
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
</script>
<script>

    var type = ["Firefox", "\u5176\u4ed6\u6d4f\u89c8\u5668", "Chrome", "Safari", "Opera", "IE", "Edge", "\u50b2\u6e38", "wx", "qq"];
    var terminal = [{"name":"Firefox","value":2347},{"name":"\u5176\u4ed6\u6d4f\u89c8\u5668","value":19216},{"name":"Chrome","value":9254},{"name":"Safari","value":509},{"name":"Opera","value":211},{"name":"IE","value":423},{"name":"Edge","value":50},{"name":"\u50b2\u6e38","value":43},{"name":"wx","value":5},{"name":"qq","value":14}];
    //var xAxis = {:json_encode($xAxis,true)};
    //var series = {:json_encode($series,true)};
    var xAxis = ["2019-09-14", "2019-09-15", "2019-09-16", "2019-09-17", "2019-09-18", "2019-09-19", "2019-09-20"];
    var series = [0, 0, 0, 0, 0, 0, 1];
    layui.config({
        base: '__LAYDMIN__/', {if config('app.app_debug')}version: true{/if}
    }).extend({
        index: 'lib/index' //主入口模块
    }).use(['index', 'console'], function () {
        var $ = layui.$;
        var admin = layui.admin;
        var table = layui.table;
        var element = layui.element;
        var form = layui.form;
        var util = layui.util;
        var upload = layui.upload;
        var carousel = layui.carousel;
        var device = layui.device();

        $(".layuiOpen").click(function () {
            var uri = $(this).attr("lay-href");
            layui.layerOpen(uri);
            return false;
        });

    });
</script>
</body>
</html>

